<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
    <title>分页界面</title>
    <link rel="stylesheet" type="text/css" href="${s.base}/lib/layui/css/layui.css"/>
    <link rel="stylesheet" type="text/css" href="${s.base}/css/base/index.css"/>
    <link rel="stylesheet" type="text/css" href="${s.base}/css/base/theme/theme.css"/>
</head>
<style>
    .w440{width: 440px !important;}
    .input-prompt{position:absolute;font-size:12px;color:#999;width:400px;height:30px;line-height:30px;right:-410px;}
    .layui-input-inline{position:relative}
</style>
<body>
<div class="page-content-wrap clearfix">
    <form class="layui-form" id="tool">
        <div class="layui-tab" style="margin-top:0;">
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <div class="layui-form-item">
                        <label class="layui-form-label"><span class="red">*</span>社团名称：</label>
                        <div class="layui-input-inline w440">
                            ${wxAssociation.title}
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label"><span class="red">*</span>教师工号：</label>
                        <div class="layui-input-inline w440">
                            ${wxAssociation.userNumber}
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label"><span class="red">*</span>教师姓名：</label>
                        <div class="layui-input-inline w440">
                            ${wxAssociation.userName}
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label"><span class="red">*</span>&nbsp;社团封面：</label>
                        <div class="layui-input-block cy-uploadpic-ctn" id="originalPath" style=" float:left;margin-left:0!important;position:relative;pointer-events:none;"></div>
                    </div>

                    <!--<div class="layui-form-item">-->
                        <!--<label class="layui-form-label"><span class="red">*</span>社团简介：</label>-->
                        <!--<div class="layui-input-inline" style="width:800px;">-->
                            <!--${wxAssociation.introduction}-->
                        <!--</div>-->
                    <!--</div>-->
                    <div class="layui-form-item">
                        <label class="layui-form-label"><span class="red">*</span>社团简介：</label>
                        <div class="layui-input-inline" style="width:490px;">
                            ${wxAssociation.introduction}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>
<!--操作-->
<script src="${s.base}/lib/layui/layui.js" type="text/javascript" charset="utf-8"></script>
<script src="${s.base}/js/common.js" type="text/javascript" charset="utf-8"></script>
<script>
    var applyId='${applyId}';
    layui.use(['jquery', 'form', 'page', 'dialog', 'fileUtil', 'baseutil'], function () {
        var $ = layui.jquery,
            form = layui.form,
            page = layui.page,
            dialog = layui.dialog,
            fileUtil = layui.fileUtil,
            baseutil = layui.baseutil;

        fileUtil.uploadImage('originalPath', "work/association/mult", '${wxAssociation.originalPath}');

    });
</script>
</body>
</html>